package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "com-lanchetech-entity-CommentStatistics")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CommentStatistics implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 商品spu id
     */
    @ApiModelProperty(value = "商品spu id")
    private Long spuId;

    /**
     * 评价总数量
     */
    @ApiModelProperty(value = "评价总数量")
    private Integer total;

    /**
     * 一星数量
     */
    @ApiModelProperty(value = "一星数量")
    private Integer one;

    /**
     * 两星数量
     */
    @ApiModelProperty(value = "两星数量")
    private Integer two;

    /**
     * 三星数量
     */
    @ApiModelProperty(value = "三星数量")
    private Integer three;

    /**
     * 四星数量
     */
    @ApiModelProperty(value = "四星数量")
    private Integer four;

    /**
     * 五星数量
     */
    @ApiModelProperty(value = "五星数量")
    private Integer five;

    /**
     * 默认五星数量
     */
    @ApiModelProperty(value = "默认五星数量")
    private Integer defaultFive;

    /**
     * 有图的评论数
     */
    @ApiModelProperty(value = "有图的评论数")
    private Integer hasImage;

    private static final long serialVersionUID = 1L;

    public static CommentStatisticsBuilder builder() {
        return new CommentStatisticsBuilder();
    }
}